package com.homedo.odin.solution.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @author: zhaoxudong
 * @date: 2018/3/6 17:37
 * @Description:
 */
@Data
@ApiModel("方案概览")
@JsonIgnoreProperties(ignoreUnknown = true)
public class SolutionOverview extends BaseBean {

    @ApiModelProperty("方案配图")
    private String matchPic;
    @ApiModelProperty("方案名称")
    private String solutionName;
    @ApiModelProperty("方案编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long solutionId;
    @ApiModelProperty("方案简介")
    private String description;
    @ApiModelProperty("发布日期")
    private Date shelveTime;
    @ApiModelProperty("浏览量")
    private Integer pageView;
    @ApiModelProperty("下载量")
    private Integer downloadCount;
    @ApiModelProperty("是否收费 0：不收费 1：收费")
    private Integer isFree;
    @ApiModelProperty("收费标准")
    private BigDecimal charges;
    @ApiModelProperty("评论数量")
    private Integer commentCount;
    @ApiModelProperty("方案类型：0：普通 1：热门 2：最新")
    private Integer type;
    @ApiModelProperty("曝光类型 0：免费 1：精品 2：常规")
    private Integer expType;
}
